﻿using DearlerPlatform.Domain;
using DearlerPlatfrom.Core;
using DearlerPlatfrom.Service.Common;
using DearlerPlatfrom.Service.ProductApp.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DearlerPlatfrom.Service.ProductApp
{
    public interface IProductService: IocTag
    {
        /// <summary>
        /// 获取产品列表
        /// </summary>
        /// <param name="pagingDto"></param>
        /// <returns></returns>
        Task<IEnumerable<ProductDto>> GetProductDto(string blongType, PageWithSortDto pageWithSortDto);

        Task<IEnumerable<ProductTypeDto>> GetProductType();

        Task<Dictionary<string, IEnumerable<string>>> ListProductTypes(string belongTypeName, string typeNo);
    }
}
